<?php
/**
 * Created by PhpStorm.
 * User: trisatria
 * Date: 1/7/14
 * Time: 11:00 AM
 */

namespace Admin\Model;


class AdminApp
{
    public $id;
    public $name;
    public $version;


    public function exchangeArray($data)
    {
        $this->id     = (isset($data['id'])) ? $data['id'] : null;
        $this->name = (isset($data['name'])) ? $data['name'] : null;
        $this->version  = (isset($data['version'])) ? $data['version'] : null;

    }

    
}